package com.ruoyi.mall.app.service;

import com.ruoyi.mall.common.domain.*;

import java.util.List;

public interface DtsOrderService {

    //我的订单
    List<DtsOrder> selectMyOrder(DtsOrder dtsOrder);

    //订单详情
    List<DtsOrder> selectOrderDetail(DtsOrder dtsOrder);

    //取消订单
    int quOrder(DtsOrder dtsOrder);

    //删除订单
    int delOrder(int id);

    //评价
    int addComment(DtsComment comment);

    // 生成订单
    Long createOrder(DtsOrder dtsOrder);

    // 订单具体商品
    int createOrderGoods(List<DtsOrderGoods> dtsOrderGoods);

    //退款时新增一条退款信息
    int addRefund(DtsRefundzTrace dtsRefundzTrace);

}
